package org.sixtynine.stock.dao;

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.WeeklySectorData;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Thilan
 * 
 */

@Transactional(readOnly = true)
public interface WeeklySectorDataDao extends
		AbstractDao<WeeklySectorData, Integer> {

	void saveWeeklySectorData(WeeklySectorData monthlySectorData);

	List<WeeklySectorData> findWeeklySectorData(int sectorid);

	List<WeeklySectorData> searchWeeklySectorData(int sectorId, Date fromDate,
			Date toDate, String orderBy, String orderByName);

	public Page<WeeklySectorData> searchWeeklySectorData(int sectorId,
			Date fromDate, Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteWeeklySectorData(int sectorId, Date fromDate, Date toDate);

}
